package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Role;

import java.util.List;

/**
 * @version v1.0
 * @author：邱敏
 * @date： 2020/2/11 16:37
 * @description：
 */
public interface RoleService {
    PageResult findPage(QueryPageBean queryPageBean);

    Result findMenuAndPermission();

    Result add(Role role);

    Result findById(Integer id);

    Result edit(Role role);

    Result delete(Integer id);

    List<Integer> getMenus(Integer roleId);
}
